<?php
require_once '../include/common.inc.php';
if (!checkAdmin()) {
    header("LOCATION:index.php");
    exit;
}
include_once('menu_list.php');
require_once PrintEot('a_header');

//var_dump($_POST);
$id=addslashes($_POST['set_num']);
$sql = "UPDATE `pro_product`  SET `is_special` = '1' where `id` ='$id' ";
$query = $db->query($sql);
if($query)
{
	echo '<span style="visibility:hidden">'.'1111111111111111111111111111111111'.'</span>'.'<b>The product had set to special</b>'.'<br />';
	echo '<span style="visibility:hidden">'.'1111111111111111111111111111111111'.'</span>'. '<a  href="m_promotion.php">'.'<img border="0" src="../images/admin/bt_continue.gif">'.'</a>';
}
?>

<?php
require_once PrintEot('a_footer');

?>